package com.bigfish.gbs.dao;

import com.bigfish.gbs.dto.OrderItemVO;
import com.bigfish.gbs.entity.OrderItem;

import java.util.List;

public interface OrderItemMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OrderItem record);

    int insertSelective(OrderItem record);

    OrderItem selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OrderItem record);

    int updateByPrimaryKey(OrderItem record);

    List<OrderItemVO> selectByUserId(String userId);

    List<OrderItem> selectByOrderId(Long orderId);

}